<?php $form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
    'id' => 'form-danh-sach-nha-thau-tham-gia-dau-thau-form',
    'type' => 'horizontal',
    'enableAjaxValidation' => false,
)); ?>

<p class="help-block">Fields with <span class="required">*</span> are required.</p>

<?php echo $form->errorSummary($model); ?>

<?php echo $form->textFieldRow($model, 'ten_don_vi', array('class' => 'span5', 'maxlength' => 250)); ?>

<?php echo $form->textFieldRow($model, 'ten_du_an', array('class' => 'span5', 'maxlength' => 250)); ?>

<?php echo $form->textFieldRow($model, 'ten_goi_thau', array('class' => 'span5', 'maxlength' => 250)); ?>

<?php echo $form->textFieldRow($model, 'hinh_thuc_dau_thau', CHtml::listData(HinhThucDauThau::model()->findAll(), 'id', 'value')); ?>

<?php echo $form->textAreaRow($model, 'quyet_dinh_phe_duyet', array('rows' => 6, 'cols' => 50, 'class' => 'span8')); ?>

<?php echo $form->textAreaRow($model, 'danh_sach_nha_thau', array('rows' => 6, 'cols' => 50, 'class' => 'span8')); ?>

<?php echo $form->datePickerRow($model, 'ngay_xuat_ban', array('class' => 'span5')); ?>

<?php echo $form->textFieldRow($model, 'so_bao_dang', array('class' => 'span5', 'maxlength' => 50)); ?>

<?php echo $form->textAreaRow($model, 'tinh_trang_thong_tin', array('class' => 'span5', 'maxlength' => 250)); ?>

<?php echo $form->textFieldRow($model, 'ma_thong_tin', array('class' => 'span5', 'maxlength' => 50)); ?>

<?php echo $form->radioButtonListRow($model, 'thong_tin_chuyen_tien', array('0' => 'Chưa thanh toán', '1' => 'Đã thanh toán')); ?>

<!--	--><?php //echo $form->textFieldRow($model,'id_nguoi_tao',array('class'=>'span5','maxlength'=>20)); ?>

<!--	--><?php //echo $form->textFieldRow($model,'status',array('class'=>'span5')); ?>

<!--	--><?php //echo $form->textFieldRow($model,'id_nguoi_chinh_sua',array('class'=>'span5','maxlength'=>20)); ?>

<!--	--><?php //echo $form->textFieldRow($model,'ngay_tao',array('class'=>'span5')); ?>

<!--	--><?php //echo $form->textFieldRow($model,'ngay_chinh_sua',array('class'=>'span5')); ?>

<!--	--><?php //echo $form->textFieldRow($model,'id_nguoi_duyet',array('class'=>'span5','maxlength'=>20)); ?>

<!--	--><?php //echo $form->textFieldRow($model,'da_thanh_toan',array('class'=>'span5','maxlength'=>10)); ?>

<!--	--><?php //echo $form->textFieldRow($model,'tong_tien',array('class'=>'span5','maxlength'=>10)); ?>

<!--	--><?php //echo $form->textFieldRow($model,'ngay_duyet',array('class'=>'span5')); ?>

<!--	--><?php //echo $form->textFieldRow($model,'image_url',array('class'=>'span5','maxlength'=>250)); ?>

<!--	--><?php //echo $form->textFieldRow($model,'lydo',array('class'=>'span5','maxlength'=>250)); ?>

<div class="form-actions">
    <?php $this->widget('bootstrap.widgets.TbButton', array(
        'buttonType' => 'submit',
        'type' => 'primary',
        'label' => $model->isNewRecord ? 'Create' : 'Save',
    )); ?>
</div>

<?php $this->endWidget(); ?>
